package com.yuda.afterexamscore.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 清华管理机学生答案对象 tsinghua_formal_answer
 *
 * @author wyn
 * @date 2021-05-12
 */
public class TsinghuaFormalAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 学生id */
    @Excel(name = "学生id")
    private String studentId;

    /** $column.columnComment */
    @Excel(name = "学生id")
    private String zkzNum;

    /** $column.columnComment */
    @Excel(name = "学生id")
    private Long studentType;

    /** 学科id */
    @Excel(name = "学科id")
    private Long subjectId;

    /** 关系id */
    @Excel(name = "关系id")
    private Integer subjectRelationId;

    /** 题目id */
    @Excel(name = "题目id")
    private Long quesId;

    /** 试卷id */
    @Excel(name = "试卷id")
    private Long paperId;

    /** 答案json */
    @Excel(name = "答案json")
    private String answer;

    /** 学生答案Json */
    @Excel(name = "学生答案Json")
    private String answerJson;

    /** $column.columnComment */
    @Excel(name = "学生答案Json")
    private String rightAnswer;

    /** $column.columnComment */
    @Excel(name = "学生答案Json")
    private String md5;

    /** $column.columnComment */
    @Excel(name = "学生答案Json")
    private Long type;

    /** 分数 */
    @Excel(name = "分数")
    private String score;

    /** $column.columnComment */
    @Excel(name = "分数")
    private String fullScore;

    /** 耗费时间 */
    @Excel(name = "耗费时间")
    private String costTime;

    /** 学生答案最后修改时间 */
    @Excel(name = "学生答案最后修改时间")
    private String answerLastTime;

    /** $column.columnComment */
    @Excel(name = "学生答案最后修改时间")
    private Long calculateType;

    /** $column.columnComment */
    @Excel(name = "学生答案最后修改时间")
    private Long quesIndex;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setStudentId(String studentId)
    {
        this.studentId = studentId;
    }

    public String getStudentId()
    {
        return studentId;
    }
    public void setZkzNum(String zkzNum)
    {
        this.zkzNum = zkzNum;
    }

    public String getZkzNum()
    {
        return zkzNum;
    }
    public void setStudentType(Long studentType)
    {
        this.studentType = studentType;
    }

    public Long getStudentType()
    {
        return studentType;
    }
    public void setSubjectId(Long subjectId)
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId()
    {
        return subjectId;
    }
    public void setSubjectRelationId(Integer subjectRelationId)
    {
        this.subjectRelationId = subjectRelationId;
    }

    public Integer getSubjectRelationId()
    {
        return subjectRelationId;
    }
    public void setQuesId(Long quesId)
    {
        this.quesId = quesId;
    }

    public Long getQuesId()
    {
        return quesId;
    }
    public void setPaperId(Long paperId)
    {
        this.paperId = paperId;
    }

    public Long getPaperId()
    {
        return paperId;
    }
    public void setAnswer(String answer)
    {
        this.answer = answer;
    }

    public String getAnswer()
    {
        return answer;
    }
    public void setAnswerJson(String answerJson)
    {
        this.answerJson = answerJson;
    }

    public String getAnswerJson()
    {
        return answerJson;
    }
    public void setRightAnswer(String rightAnswer)
    {
        this.rightAnswer = rightAnswer;
    }

    public String getRightAnswer()
    {
        return rightAnswer;
    }
    public void setMd5(String md5)
    {
        this.md5 = md5;
    }

    public String getMd5()
    {
        return md5;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }
    public void setFullScore(String fullScore)
    {
        this.fullScore = fullScore;
    }

    public String getFullScore()
    {
        return fullScore;
    }
    public void setCostTime(String costTime)
    {
        this.costTime = costTime;
    }

    public String getCostTime()
    {
        return costTime;
    }
    public void setAnswerLastTime(String answerLastTime)
    {
        this.answerLastTime = answerLastTime;
    }

    public String getAnswerLastTime()
    {
        return answerLastTime;
    }
    public void setCalculateType(Long calculateType)
    {
        this.calculateType = calculateType;
    }

    public Long getCalculateType()
    {
        return calculateType;
    }
    public void setQuesIndex(Long quesIndex)
    {
        this.quesIndex = quesIndex;
    }

    public Long getQuesIndex()
    {
        return quesIndex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("zkzNum", getZkzNum())
            .append("studentType", getStudentType())
            .append("subjectId", getSubjectId())
            .append("subjectRelationId", getSubjectRelationId())
            .append("quesId", getQuesId())
            .append("paperId", getPaperId())
            .append("answer", getAnswer())
            .append("answerJson", getAnswerJson())
            .append("rightAnswer", getRightAnswer())
            .append("md5", getMd5())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("score", getScore())
            .append("fullScore", getFullScore())
            .append("costTime", getCostTime())
            .append("answerLastTime", getAnswerLastTime())
            .append("calculateType", getCalculateType())
            .append("quesIndex", getQuesIndex())
            .toString();
    }
}
